package com.tian.hello.ui.topline.model;

import com.tian.hello.R;
import com.tian.hello.ui.topline.base.IViewModel;
import com.tian.hello.ui.topline.base.ItemInfo;
import com.tian.hello.ui.topline.base.ViewHolder;

/**
 * Description:
 * Author：skyTian
 * Time:2018/2/2
 * CopyRight:com,sky
 */
public class FriendViewModel implements IViewModel<ItemInfo> {

    @Override
    public void onBindView(ViewHolder holder, ItemInfo data) {
        holder.setText(R.id.tv_notify, "我是好友布局");
    }

    @Override
    public int getViewType() {
        return IViewModel.MODEL_FRIEND;
    }

    @Override
    public int getItemLayout() {
        return R.layout.partly_newfriend;
    }
}
